package com.zwt.util.token;

import com.zwt.constant.AppConstant;
import com.zwt.util.md5.MD5Util;

/**
 * Created by zwt on 2018/9/6.
 * 生成token
 */
public class TokenUtil {

    public static String getToken(String phone){
        String token = MD5Util.encodeMD5Hex(AppConstant.APP_TOKEN + phone);
        return token;
    }
}
